//
//  LcbUITableViewCell.h
//  huien
//
//  Created by yiban on 2017/5/26.
//  Copyright © 2017年 lcb. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum
{
    BEventType_Unknow,
    BEventType_Module,
    BEventType_Money,
}BEventType;
@interface LcbUITableViewCell : UITableViewCell
{
    
}
@property(nonatomic,strong) id data;
@property(nonatomic,strong) id key;
@property(nonatomic,strong) id other;
@property(nonatomic,strong) NSIndexPath *indexPath;
@property(nonatomic,strong)UIView *line;
@property(nonatomic,copy) void(^actionBlock)(BEventType,UIView *,NSInteger,id,NSIndexPath *);

-(void)setCallBack:(void(^)(BEventType,UIView*,NSInteger,id,NSIndexPath *))callback;
/// 根据数据模型来显示内容
- (void)showInfo:(id)model indexPath:(NSIndexPath *)indexPath;
/// 根据key模型来显示内容
- (void)showInfo:(id)model key:(id)key indexPath:(NSIndexPath *)indexPath;
/// 返回Cell高度
+ (CGFloat)returnCellHeight:(id)model;
+ (CGFloat)returnCellHeight;
@end
